package Person;

public class Washingmachine extends person {

String DianJ;
String Rliang;

    public Washingmachine(String dianJ, String rliang) {
        DianJ = dianJ;
        Rliang = rliang;
    }

    public Washingmachine(String name, String XX, String color, String moeny, String dianJ, String rliang) {
        super(name, XX, color, moeny);
        DianJ = dianJ;
        Rliang = rliang;
    }

    public String getDianJ() {
        return DianJ;
    }

    public void setDianJ(String dianJ) {
        DianJ = dianJ;
    }

    public String getRliang() {
        return Rliang;
    }

    public void setRliang(String rliang) {
        Rliang = rliang;
    }
    public Washingmachine() {

        super();
        System.out.println( "电机类型:" +"  洗条容量:");


    }
}
